using System.ComponentModel.DataAnnotations;
namespace webapi.Models
{
    public class GetLikeRespone{
       
        /// <summary>
        /// 文章id
        /// </summary>
        [Required(ErrorMessage = "文章id不能为空")]
        public int ArticleId { get; set; }
        /// <summary>
        /// 文章标题
        /// </summary>
        [Required(ErrorMessage = "文章标题不能为空")]
        public string ArticleTitle { get; set; }
         /// <summary>
        /// 点赞总数
        /// </summary>
        [Required(ErrorMessage = "点赞总数不能为空")]
        public int LikeSum { get; set; }
    }
}